package com.groupbuying.orderproducer.connector;

import java.util.Map;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @anthor zmlmagic
 * @date 2019/4/17 4:47 PM
 * @company 蒙泰互联网公司
 * @des 备注说明
 **/

@Service
@FeignClient("bus-pay")
public interface PayFeign {
    @GetMapping("/getPayInfoByOrderId")
    public Map<String, String> getPayInfoByOrderId(@RequestParam("orderId") String orderId);
}